package system.task.events;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import system.task.Task;

/**
 * 任务添加事件
 */
public class TaskAddEvent extends ApplicationEvent {
    @Getter
    private final Task task;

    public TaskAddEvent(Task task) {
        super(task);
        this.task = task;
    }
}
